﻿using Dtos;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IBLL
{
    public interface IDepartmentBll
    {
        public Task<int> AddDepartmentAsync(string title);
        public Task<int> UpdateDepartmenAsync(Guid id, string title,DateTime updateTime);
        public Task<int> DeleteDepartmenAsync(Guid id);
        Task<List<DepartmentDto>> GetAll();
        public Task<DepartmentDto> GetDepartmenByIdAsync(Guid id);
        public Task<List<DepartmentDto>> GetDepartmenByNameAsync(string title);
    }
}
